home *** CD-ROM | disk | FTP | other *** search
- /*
- * smupdate.h
- * Copyright (c) 1993 Mark C Smith
- */
-
-
- typedef pascal short (*GestaltProcPtr)( OSType selector, long *response );
-
- #define STR_ONOFF -4064 /* if first character of this STR resource is '0' we
- are turned off, otherwise on */
-
- /*
- * the rest is lifted from Essential.h, with changes
- */
- #define WayBadValue 0x50FF8001 // borrowed this value from EvenBetterBusError
- // just in case we do something wrong, we’ll
- // know right away.
-
- /*
- * these are the different selectors that can be passed to our Gestalt routine
- */
- #define sSmUpdate 'SmUp'
- #define sSmOn 'SmOn'
- #define sSmOff 'SmOf'
- #define sSmStatus 'SmSt'
-
- void ShowINIT(short iconID);